package com.aggregate.pay.xinfu.payment.support.client;

import com.aggregate.pay.xinfu.payment.bean.BalanceQueryData;
import com.aggregate.pay.xinfu.payment.bean.BalanceQueryResult;
import com.aggregate.pay.xinfu.payment.support.AbstractClient;
import com.aggregate.pay.xinfu.payment.support.Factory;
import com.aggregate.pay.xinfu.payment.support.Merch;

/**
 * 余额查询接口
 * @author Moyq5
 * @date 2019年3月27日
 */
public class BalanceQuery extends AbstractClient<BalanceQueryData, BalanceQueryResult> {
	
	public BalanceQuery(Merch merch) {
		super(merch);
	}

	@Override
	protected Class<BalanceQueryResult> getResultClass() {
		return BalanceQueryResult.class;
	}

	@Override
	protected String getApiPath() {
		return Factory.getConfig().serverPath() + "/Api/GetAccount";
	}

}
